package service.impl;

import dao.RoMessDao;
import dao.impl.RoMessDaoImpl;
import pojo.RoMess;
import service.RoMessService;

/**
 * 角色菜单关联接口的实现类
 * @author 叶军军
 */
public class RoMessServiceImpl implements RoMessService {

    RoMessDao rmd=new RoMessDaoImpl();

    /**
     * 添加一个角色菜单关联
     */
    @Override
    public int inseRmass(RoMess roMess) {
        return rmd.inseRmass(roMess);
    }

    /**
     *根据角色id删除角色菜单关联
     */
    @Override
    public int deleRmass(int roleId) {
        return rmd.deleRmass(roleId);
    }
}
